package zoo.controller;

import java.util.Map;
import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @author HuangSuip
 */
@FeignClient("cjids")
public interface IdClient {

    @RequestMapping(method = {RequestMethod.POST}, value = "api/id")
    Map nextId();
}
